package com.jintian.smart.kernel.flowable.domain.entity;
import com.jintian.smart.kernel.core.annotation.orm.SimpleQuery;
import com.jintian.smart.kernel.orm.entity.BaseBaseEntity;
import lombok.*;
import org.beetl.sql.annotation.builder.FillStrategy;
import org.beetl.sql.annotation.builder.UpdateTime;
import org.beetl.sql.annotation.entity.Table;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "MDA_FLOW_COMMENT")
@SimpleQuery("com.jintian.mda.flow.domain.query.FlowCommentQuery")
public class FlowComment extends BaseBaseEntity {
    private static final long serialVersionUID = 1L;

    private String nodeId;

    private String nodeName;

    private String refRowId;

    private String approveName;

    private String approveComment;

    private String updateBy;

    private String createBy;

    @UpdateTime(FillStrategy.INSERT)
    private LocalDateTime createTime;

    @UpdateTime(FillStrategy.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String isDeleted;
    private String note;

    private String busType;
    private String processName;
    private String pid;
    private String tid;
    private Integer action;
    private Integer status;
}